package com.api.predict.vo;

import com.api.user.vo.TeamVo;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 竞猜结果
 *
 * @author RenQiang
 * @date 2021/7/10
 */
@Data
public class PredictResultVo {
    /**
     * 竞猜ID
     */
    private Long predictId;
    /**
     * 竞猜是否已结束
     */
    private Boolean completed;
    /**
     * 竞猜可选队伍列表
     */
    private List<PredictTeamVo> predictTeams;
    /**
     * 胜利组队伍ID
     */
    private List<Long> victoryTeamIds;
    /**
     * 投注结果列表
     */
    private List<RegistrationResultVo> registrationResults;

    @Data
    public static class RegistrationResultVo {
        /**
         * 用户投注队伍列表
         */
        private List<PredictTeamVo> registrationTeams;
        /**
         * 用户赢得的金币数量
         */
        private BigDecimal winCoins;
    }
}
